HAL IWDG io operation functions migration

This section provides information about the HAL IWDG io operation functions migration.

HAL IWDG IRQ handler function

HAL1

HAL2

HAL_IWDG_IRQHandler(IWDG_HandleTypeDef *hiwdg);
HAL_IWDG_IRQHandler(hal_iwdg_handle_t *hiwdg);

HAL IWDG refresh function

HAL1

HAL2

HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg);
HAL_IWDG_Refresh(hal_iwdg_handle_t *hiwdg);

HAL IWDG get active status function

HAL1

HAL2

HAL_IWDG_GetActiveStatus(const IWDG_HandleTypeDef *hiwdg)

Removed , in HAL2, use the API HAL_IWDG_GetState(const hal_iwdg_handle_t *hiwdg) to retrieve the current state of the IWDG.


HAL IWDG early wake-up function

HAL1

HAL2

HAL_IWDG_EarlyWakeupCallback(IWDG_HandleTypeDef *hiwdg);
HAL_IWDG_EarlyWakeupCallback(hal_iwdg_handle_t *hiwdg);